package com.design01_builder.pattern02_factory.simple_factory.entry;

/**
 * @ClassName ResponseResult
 * @Description
 * @Author zhangjunhao
 * @DATE 2023/9/2 1:01
 */
public class ResponseResult {


    private String status;//状态码

    private String message;//信息

    SmallGiftInfo smallGiftInfo;

    public ResponseResult(String status, String message) {
        this.status = status;
        this.message = message;
    }
    public ResponseResult(String status, String message,SmallGiftInfo smallGiftInfo) {
        this.status = status;
        this.message = message;
        this.smallGiftInfo = smallGiftInfo;
    }


    @Override
    public String toString() {
        return "DiscountResult{" +
                "status='" + status + '\'' +
                ", message='" + message + '\'' +
                '}';
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResponseResult() {
    }

}
